package com.jindy.module.leaseFinancialStatistics.mapper;

import java.util.List;
import java.util.Map;

import com.jindy.module.leaseFinancialStatistics.domain.LeaseFinancialStatistics;

/**
 * VIEWMapper接口
 * 
 * @author jindy
 * @date 2023-06-06
 */
public interface LeaseFinancialStatisticsMapper 
{
    /**
     * 查询VIEW
     * 
     * @param leaseMonth VIEW主键
     * @return VIEW
     */
    public LeaseFinancialStatistics selectLeaseFinancialStatisticsByLeaseMonth(String leaseMonth);

    /**
     * 查询VIEW列表
     * 
     * @param leaseFinancialStatistics VIEW
     * @return VIEW集合
     */
    public List<LeaseFinancialStatistics> selectLeaseFinancialStatisticsList(LeaseFinancialStatistics leaseFinancialStatistics);

    /**
     * 新增VIEW
     * 
     * @param leaseFinancialStatistics VIEW
     * @return 结果
     */
    public int insertLeaseFinancialStatistics(LeaseFinancialStatistics leaseFinancialStatistics);

    /**
     * 修改VIEW
     * 
     * @param leaseFinancialStatistics VIEW
     * @return 结果
     */
    public int updateLeaseFinancialStatistics(LeaseFinancialStatistics leaseFinancialStatistics);

    /**
     * 删除VIEW
     * 
     * @param leaseMonth VIEW主键
     * @return 结果
     */
    public int deleteLeaseFinancialStatisticsByLeaseMonth(String leaseMonth);

    /**
     * 批量删除VIEW
     * 
     * @param leaseMonths 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLeaseFinancialStatisticsByLeaseMonths(String[] leaseMonths);

    /**
     * 租赁业务统计
     * @return
     */
    List<Map<String, Object>> getTurnoverCount();
}
